home *** CD-ROM | disk | FTP | other *** search
/ QuickTime for the Web (2nd Edition) / QuickTime for the Web (2nd Edition).iso / pc / AppleScript / QUICKTIME 5.0.2 SCRIPTS / Example Files / Favorites Examples / Add Favorite From File.txt < prev    next >
Encoding:
Text File  |  2001-06-04  |  144 b   |  10 lines

  1. tell application "QuickTime Player"
  2.     launch
  3.     activate
  4.     set this_file to choose file
  5.     try
  6.         make favorite with data this_file
  7.     end try
  8. end tell
  9.  
  10.